package com.mingqijia.gassafety.webserver.feign;

import com.gap.basic.base.CommonResponse;
import com.mingqijia.gassafety.webserver.request.ZJUnbindDeviceRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.scheduling.annotation.Async;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName SmartKitchenFeignClient.java
 * @createTime 2023年03月27日
 */
@FeignClient(value = "smart-kitchen-service")
public interface  SmartKitchenFeignClient {

    /**
     * 解绑紫荆报警器设备通知
     * @return
     */
    @PostMapping("/inner/alarm/unbindDevice")
    @Async
    CommonResponse<Object> unBindDeviceNotice(@RequestBody ZJUnbindDeviceRequest req);



}
